package com.example.dadabase.migrations

import androidx.room.RenameColumn
import androidx.room.migration.AutoMigrationSpec
import androidx.sqlite.db.SupportSQLiteDatabase

/**
 * 修改表名
 */
@RenameColumn(tableName = "user_info", fromColumnName = "name", toColumnName = "user_name")
class UserInfoColumnNameMigration :AutoMigrationSpec{
    override fun onPostMigrate(db: SupportSQLiteDatabase) {
        super.onPostMigrate(db)
    }
}